{% extends "CommonUserBundle::baseUser.html.twig" %}

{% form_theme form ':form:form_bootstrap.html.twig' %}

{% block stylesheets %}
    {{ parent() }}
    <link type="text/css" rel="stylesheet" href="{{asset('library/BootstrapMultiSelect/css/bootstrap-multiselect.css')}}" />
    <link type="text/css" rel="stylesheet" href="{{asset('library/FontAwesome/css/font-awesome.min.css')}}" />
    <link type="text/css" rel="stylesheet" href="{{asset('css/hotel.css')}}" />
{% endblock %}

{% block javascripts %}
    {{parent()}}
    <script src="{{asset('library/BootstrapMultiSelect/js/bootstrap-multiselect.js')}}" type="text/javascript"></script>
{% endblock %}

{% block subbody %}

    <div class="title"><center><h2>USER</h2></center></div>

    <div class="well" style="width:400px;margin-left:auto;margin-right:auto;">
        <form action="" method="post" class=""{{ form_enctype(form) }}>
            {{ form_widget(form) }}


            <br/>
            <div class="text-center">
                <input type="submit" class="btn btn-success" value="Valider"/>
                <a href="{{path("astotel_user_user_index")}}" class="btn btn-danger text-center">Retour</a>
            </div>
        </form>
    </div>

{% endblock %}